home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15637 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!smryan
  3. From: smryan@netcom.com (@#$%!?!)
  4. Subject: Re: list of functions in a lib<>.a file
  5. Message-ID: <smryanDq5BB0.8sB@netcom.com>
  6. Organization: The Programmer formerly known as S M Ryan
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <4l60fc$9am@ornews.intel.com> <smryanDq3M2y.5M8@netcom.com> <4l8o4j$kj@news.interpath.net>
  9. Date: Sat, 20 Apr 1996 05:30:36 GMT
  10. Sender: smryan@netcom3.netcom.com
  11.  
  12. : : : Is there a way that I can get a list of functions in a .a
  13. : : : library file?
  14.  
  15. : Don't you mean ar? nm lists the symbols in a .o file, but I don't
  16. : think I've ever run it on an archive before. ar would be more
  17. : user friendly anyhow.
  18.  
  19. : I think it's ar -t for a directory, same as tar.
  20.  
  21. ar lists the members which may or may not be executables and which may or 
  22. may not more than one function. nm lists entry points, externals, etc in
  23. executable, binaries, and, at least in some cases, archives. 
  24.  
  25. -- 
  26. The Queen who loves, the Queen of life,    | smryan@netcom.com  PO Box 1563
  27. the Queen who straits, the Queen of strife;|          Cupertino, California
  28. with gasp of death or gift of breath       | (xxx)xxx-xxxx            95015
  29. she brings the choice of birth or knife.   |         I don't use no smileys
  30.